package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserPassTransport;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class UserPassTransportBussiness {

	public static Map<Integer, UserPassTransport> getUserPassTransport(long userId) {
		return DaoHelper.getUserPassTransportDaoImpl().getUserPassTransport(userId);
	}

	public static boolean addUserPassTransport(UserPassTransport data) {
		return DaoHelper.getUserPassTransportDaoImpl().add(data);
	}

	public static boolean updateUserPassTransport(UserPassTransport data) {
		return DaoHelper.getUserPassTransportDaoImpl().update(data);
	}


}
